package com.ims.common.service;

import java.io.Serializable;
import java.util.List;

import com.ims.stocks.model.Employee;



public interface BaseService<T, ID extends Serializable> {


	Object findById(Class<T> clazz, ID id);


	List<?> findAll(Class<T> clazz);


	void txPersistObject(T entity) throws Exception;


	void txUpdateObject(T entity);


	void txDelete(T entity);


	void txSaveOrUpdateObject(T entity);



}
